package com.speed_run.mapper;

import java.util.List;
import java.util.Map;

import com.speed_run.dto.Article;
import com.speed_run.dto.Strategy;

public interface AdminMapper {
	 List<Map<String, Object>> getFocusImgs();
	 void updateImg(Map<String, Object> data);
	 void delImg(Integer id);
	 void insertImg(Object data);
	 Map<String, Object> getImgById(Integer id);
	 Strategy updateStrategy(Strategy vo);
	 Strategy insertStrategy(Strategy vo);
	 Strategy findStrategyById(Integer id);
	 List<Map<String, Object>> findStratey();

	 Article findArticleById(Integer id);
	 Article updateArticle(Article vo);
	 Article insertArticle(Article vo);
	 List<Map<String, Object>> findArticleByPId(Integer id);
}
